<!-- version = 0.0.12 -->
<!DOCTYPE html>
<html lang="cn">
    <head>
        <meta charset="utf-8">

    </head>
    <body>
        <p><a href="datachannel.html">Basic datachannel demo</a></p>
        <p><a href="test.html">Basic test demo</a></p>
        <div class="box">
            <span>SDP Semantics:</span>
            <select id="sdpSemantics">
                <option selected value="">Default</option>
                <option value="unified-plan">Unified Plan</option>
                <option value="plan-b">Plan B</option>
            </select>
        </div>
        <div class="box">
            <span>Stream Source:</span>
            <select id="StreamSource">
                <option selected value="camera">摄像头</option>
                <option value="screen">屏幕共享</option>
            </select>
        </div>
        <div class="select">
            <label for="audioSource">Audio input source: </label><select id="audioSource"></select>
        </div>
    
        <div class="select">
            <label for="audioOutput">Audio output destination: </label><select id="audioOutput"></select>
        </div>
    
        <div class="select">
            <label for="videoSource">Video source: </label><select id="videoSource"></select>
        </div>
        <video id="local_video" playsinline autoplay muted>local_video</video>
        <p>本地视频</p>
        <video id="remote_video" playsinline autoplay >remote_video</video>
        <p>远程视频</p>

        <!-- <button id="start_btn">准备</button> -->
        <button id="call_btn">呼叫</button>
        <button id="hangup_btn">挂断</button>


        <p>自己的candidate:</p>
        <p id="self_candidate_str" style="background-color:#00FFFF">等待candidate</p>
        <p>传入candidate输入区:</p>
        <textarea id="input_candidate_textarea"></textarea>
        <button id="confirm_input_candidate_btn">确认传入</button>
        <p>自己的description:</p>
        <p id="self_description_str" style="background-color:#C0C0C0">等待desc</p>
        <p>传入description输入区:</p>
        <textarea id="input_description_textarea"></textarea>
        <button id="confirm_input_description_btn">确认传入</button>

        <p id='log'>Log:</p>

        <script src="log.js"></script>
        <script src="main.js" ></script>
    </body>
</html>